Google 的人工智能會(huì)寫(xiě)詩(shī),而且你一定能讀懂
PingWest品玩 05-16
人工智能除了可以用來(lái)識(shí)別圖像、可以用來(lái)和圍棋手對(duì)戰(zhàn)、可以用來(lái)操控機(jī)器人、可以用來(lái)作畫(huà),現(xiàn)在,它又能寫(xiě)詩(shī)了。先來(lái)欣賞一首:
No.
he said.
“no,” he said.
“no,” i said.
“i know,” she said.
“thank you,” she said.
“come with me,” she said.
“talk to me,” she said.
“don’t worry about it,” she said.
乍一看,上面這些句子像是些不成規(guī)則的日常用語(yǔ),但實(shí)際上卻是 Google 人工智能機(jī)器寫(xiě)的一首詩(shī)。用的單詞都很簡(jiǎn)單,有一點(diǎn)英語(yǔ)基礎(chǔ)的人都能讀懂,但意境的話,就要靠你的想象力了。
Google 讓人工智能學(xué)習(xí)了 2865 篇愛(ài)情小說(shuō),并為其設(shè)定了一定的格式,然后它的詩(shī)詞水平就描繪出了上面這些句子。
如果你覺(jué)得第一首詩(shī)太簡(jiǎn)單的話,這個(gè)能寫(xiě)作的機(jī)器人也能擺弄出一些復(fù)雜的句子,比如下面這首:
it made me want to cry.
no one had seen him since.
it made me feel uneasy.
no one had seen him.
the thought made me smile.
the pain was unbearable.
the crowd was silent.
the man called out.
the old man said.
the man asked.
看上去,這個(gè)人工智能機(jī)器學(xué)習(xí)完言情小說(shuō)之后好像也變得多愁善感起來(lái)。但實(shí)際上,它卻只是一堆接通了電流的機(jī)器零件。電影《Her》中的場(chǎng)景離我們還遠(yuǎn)著呢。
按照 Google 工程師的說(shuō)法,目前這個(gè)項(xiàng)目還處在比較初級(jí)的階段,想讓人機(jī)器自如的交流還有很長(zhǎng)的路要走。
he was silent for a long moment.
he was silent for a moment.
it was quiet for a moment.
it was dark and cold.
there was a pause.
it was my turn.
他沉默了許久。他沉默了片刻。言情小說(shuō)中大多都是類(lèi)似的情節(jié),人工智能自然也就只能一遍又一遍的寫(xiě)這些相似的句子。Google 的工程師們給機(jī)器設(shè)計(jì)了每首詩(shī)的開(kāi)頭和結(jié)尾,然后讓它們往里面填充適當(dāng)?shù)木渥舆M(jìn)而把這些內(nèi)容串起來(lái)。
there is no one else in the world.
there is no one else in sight.
they were the only ones who mattered.
they were the only ones left.
he had to be with me.
she had to be with him.
i had to do this.
i wanted to kill him.
i started to cry.
i turned to him.
不難看出,這些人工智能機(jī)器書(shū)寫(xiě)的詩(shī)句雖然能保證語(yǔ)法的準(zhǔn)確,但都是一些簡(jiǎn)單的句子。
當(dāng)然,鑒于人工智能會(huì)不斷地學(xué)習(xí),沒(méi)準(zhǔn)有一天它真的能成為一個(gè)后現(xiàn)代言情詩(shī)人,那個(gè)時(shí)候,不曉得它學(xué)習(xí)科幻小說(shuō)的同伴會(huì)造出什么?
下一場(chǎng)星球大戰(zhàn)的劇情或許已經(jīng)在醞釀了。



